<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AlterOpenShopSiteLocationsFix extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        \Illuminate\Support\Facades\DB::statement("ALTER TABLE `kf_tiger`.`open_shop_site_locations`
MODIFY COLUMN `waterFee` varchar(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '水费' AFTER `caseRegisterType`,
MODIFY COLUMN `electricityFee` varchar(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '电费' AFTER `waterFee`,
MODIFY COLUMN `electricityFeeMonth` varchar(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '120000' COMMENT '电费/月' AFTER `shopManagerCount`,
MODIFY COLUMN `waterFeeMonth` varchar(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '10000' COMMENT '水费/月' AFTER `electricityFeeMonth`;");
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
